Revision: awiki--fix-comments--1.0--patch-3
Archive: jeremy@n-heptane.com--2005
Creator: Jeremy Shaw <jeremy.shaw@linspireinc.com>
Date: Thu May 12 18:29:58 PDT 2005
Standard-date: 2005-05-13 01:29:58 GMT
Modified-files: awiki/awiki.c libawiki-nodes/authors-html.c
New-patches: jeremy@n-heptane.com--2005/awiki--fix-comments--1.0--patch-3
Summary: Fix awiki html output to be HTML 4.01 strict compliant
Keywords: 

Fixed awiki to generate html that passes this validator:

http://validator.w3.org/

To do this I had to:

(1) Add a DOCTYPE declaration:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

(2) Remove a </div> tag that had to openning <div>
(3) Create a <head> element which contains:
    + The <title> element

    + a <meta> element that declares the encoding as utf-8. Note that
      this is only correct if awiki mandates that everything should be
      encoded as utf-8. The encoding is required, so *some* value must
      be used...
(4) Change width=25% to width=\"25%\" in authors-html.c

You must also apply the patches:

jeremy@n-heptane.com--2005/awiki--fix-comments--1.0--patch-1
jeremy@n-heptane.com--2005/awiki--fix-comments--1.0--patch-2

Which fix improper html comment termination.

No unit tests provided.
